# -*- coding: utf-8 -*-
# @Author  : wyh
# @Time    : 2022/2/16 16:13
# @File    : b
# @Email   : 2448979539@qq.com
from sqlalchemy.sql.compiler import SQLCompiler

c = ''

for key in dir(SQLCompiler):
    key: str
    if key.startswith('visit'):
        c += f'    @debug\n    def {key}(self, *args, **kwargs):\n        return super().{key}(*args, **kwargs)\n\n'

print(c)
